#!/bin/env expect

set timeout -1 

set group [lindex $argv 0]

spawn yum groupinstall $group

expect -re  "Is this.*ok \\\[y/d/N]:" {
	send "N\r"
	exit 0
}

exit 1
